<script setup>
defineProps(['propName'])
import Mycomponent from './Mycomponent.vue';


</script>

<template>
    <div>
      <h3>我的组件</h3>
      <p>这是我的组件中接受的值：{{ propName }}</p>
    </div>
    <my-component prop-name="somevalue"></my-component>
  </template>
  
  
  <style scoped>
  </style>